package com.niit.mall.pay;

import com.niit.mall.api.config.DefaultFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.niit.mall"})
@EnableFeignClients(
		basePackages = "com.niit.mall.api.client",
		defaultConfiguration = DefaultFeignConfig.class
)
public class PayServiceApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(PayServiceApplication.class, args);
	}
	
}
